<?php

require_once 'Zend/View/Helper/Abstract.php';

class Core_View_Helper_General_FormatPercentage extends Zend_View_Helper_Abstract
{
    /**
     * this helper formats a percentage
     */
    public function formatPercentage($num)
    {
        return number_format($num, 2) . ' %';
    }
}